package Stringdemo;

public class StringDemo1 {
    public static void main(String[] args) {
        String s1 = "abc";

        System.out.println(s1);

        String s2 =  new String();
        System.out.printf("@" + s2 + "!");

        String s3 = new String("abc");
        System.out.println(s3);

        char[] chr = {'a','b','c','d','e','f'};
        String s4 = new String(chr);
        System.out.println(s4);
    }
}
